package org.gr.ias.common.util;
;
import java.io.IOException;
import java.util.Properties;

public class PropertiesUtil {

    public static String getValueByName(String name){
        String msg="";
        Properties properties = new Properties();
        try {
            properties.load(PropertiesUtil.class.getClassLoader().getResourceAsStream("message.properties"));
            msg=properties.getProperty(name);
        } catch (IOException e) {
            e.printStackTrace();
        }
        return msg;
    }
}
